﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004C3 RID: 1219
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildLeaveScRsp : IMessage<EvolveBuildLeaveScRsp>, IMessage, IEquatable<EvolveBuildLeaveScRsp>, IDeepCloneable<EvolveBuildLeaveScRsp>, IBufferMessage
	{
		// Token: 0x17000FC9 RID: 4041
		// (get) Token: 0x0600371A RID: 14106 RVA: 0x00097F0F File Offset: 0x0009610F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildLeaveScRsp> Parser
		{
			get
			{
				return EvolveBuildLeaveScRsp._parser;
			}
		}

		// Token: 0x17000FCA RID: 4042
		// (get) Token: 0x0600371B RID: 14107 RVA: 0x00097F16 File Offset: 0x00096116
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildLeaveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FCB RID: 4043
		// (get) Token: 0x0600371C RID: 14108 RVA: 0x00097F28 File Offset: 0x00096128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildLeaveScRsp.Descriptor;
			}
		}

		// Token: 0x0600371D RID: 14109 RVA: 0x00097F2F File Offset: 0x0009612F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLeaveScRsp()
		{
		}

		// Token: 0x0600371E RID: 14110 RVA: 0x00097F38 File Offset: 0x00096138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLeaveScRsp(EvolveBuildLeaveScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.levelInfo_ = ((other.levelInfo_ != null) ? other.levelInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600371F RID: 14111 RVA: 0x00097F84 File Offset: 0x00096184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLeaveScRsp Clone()
		{
			return new EvolveBuildLeaveScRsp(this);
		}

		// Token: 0x17000FCC RID: 4044
		// (get) Token: 0x06003720 RID: 14112 RVA: 0x00097F8C File Offset: 0x0009618C
		// (set) Token: 0x06003721 RID: 14113 RVA: 0x00097F94 File Offset: 0x00096194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000FCD RID: 4045
		// (get) Token: 0x06003722 RID: 14114 RVA: 0x00097F9D File Offset: 0x0009619D
		// (set) Token: 0x06003723 RID: 14115 RVA: 0x00097FA5 File Offset: 0x000961A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLevelInfo LevelInfo
		{
			get
			{
				return this.levelInfo_;
			}
			set
			{
				this.levelInfo_ = value;
			}
		}

		// Token: 0x06003724 RID: 14116 RVA: 0x00097FAE File Offset: 0x000961AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildLeaveScRsp);
		}

		// Token: 0x06003725 RID: 14117 RVA: 0x00097FBC File Offset: 0x000961BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildLeaveScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.LevelInfo, other.LevelInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003726 RID: 14118 RVA: 0x0009800C File Offset: 0x0009620C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.levelInfo_ != null)
			{
				num ^= this.LevelInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003727 RID: 14119 RVA: 0x00098061 File Offset: 0x00096261
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003728 RID: 14120 RVA: 0x00098069 File Offset: 0x00096269
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003729 RID: 14121 RVA: 0x00098074 File Offset: 0x00096274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.levelInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.LevelInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600372A RID: 14122 RVA: 0x000980D0 File Offset: 0x000962D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.levelInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LevelInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600372B RID: 14123 RVA: 0x00098128 File Offset: 0x00096328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildLeaveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.levelInfo_ != null)
			{
				if (this.levelInfo_ == null)
				{
					this.LevelInfo = new EvolveBuildLevelInfo();
				}
				this.LevelInfo.MergeFrom(other.LevelInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600372C RID: 14124 RVA: 0x00098190 File Offset: 0x00096390
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600372D RID: 14125 RVA: 0x0009819C File Offset: 0x0009639C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.levelInfo_ == null)
					{
						this.LevelInfo = new EvolveBuildLevelInfo();
					}
					input.ReadMessage(this.LevelInfo);
				}
			}
		}

		// Token: 0x040015B7 RID: 5559
		private static readonly MessageParser<EvolveBuildLeaveScRsp> _parser = new MessageParser<EvolveBuildLeaveScRsp>(() => new EvolveBuildLeaveScRsp());

		// Token: 0x040015B8 RID: 5560
		private UnknownFieldSet _unknownFields;

		// Token: 0x040015B9 RID: 5561
		public const int RetcodeFieldNumber = 15;

		// Token: 0x040015BA RID: 5562
		private uint retcode_;

		// Token: 0x040015BB RID: 5563
		public const int LevelInfoFieldNumber = 9;

		// Token: 0x040015BC RID: 5564
		private EvolveBuildLevelInfo levelInfo_;
	}
}
